import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { PageHomeComponent } from './page-home/page-home.component';
import { PageCategoryComponent } from './page-category/page-category.component';
import { PageShoppingcartComponent } from './page-shoppingcart/page-shoppingcart.component';
import { PageMyComponent } from './page-my/page-my.component';
import { PageDetailComponent } from './page-detail/page-detail.component';
import { PagePayComponent } from './page-pay/page-pay.component';
import { PageLoginComponent } from './page-login/page-login.component';
import { PageSetComponent } from './page-set/page-set.component';
import { PageAddressComponent } from './page-address/page-address.component';
import { PageRegisterComponent } from './page-register/page-register.component';
import { PageSafetyComponent } from './page-safety/page-safety.component';
import { PageSearchComponent } from './page-search/page-search.component';
import { PageOrderComponent } from './page-order/page-order.component';
import { PageCommentComponent } from './page-comment/page-comment.component';




const routes: Routes = [
  {path:"home", component:PageHomeComponent,},
  {path:"category", component:PageCategoryComponent,},
  {path:"shoppingcart", component:PageShoppingcartComponent,},
  {path:"my", component:PageMyComponent,},
  {path:"detail", component:PageDetailComponent,},
  {path:"pay",component:PagePayComponent,},
  {path:"login", component:PageLoginComponent,},
  {path:"set", component:PageSetComponent,},
  {path:"address", component:PageAddressComponent,},
  {path:"register", component:PageRegisterComponent,},
  {path:"safety", component:PageSafetyComponent,},
  {path:"search", component:PageSearchComponent,},
  {path:"order", component:PageOrderComponent,},
  {path:"comment", component:PageCommentComponent,},
 
 
  
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class IntelligentShoppingRoutingModule { }
